package cn.gailvlun.gll.widget.photopicker;

import android.content.Context;

import com.github.markzhai.recyclerview.MultiTypeAdapter;

import cn.gailvlun.gll.R;



public class PhotoAdapter extends MultiTypeAdapter {

    public enum Type {
        PHOTO, ADD
    }

    public PhotoAdapter(Context context) {
        super(context);

        addViewTypeToLayoutMap(Type.PHOTO.ordinal(), R.layout.item_photo_photo);
        addViewTypeToLayoutMap(Type.ADD.ordinal(), R.layout.item_photo_add);
    }
}
